const actions = {
  setUserName: ({ commit }, name) => {
    return commit('SET_USER_NAME', name)
  },
  setUserPassword: ({ commit }, password) => {
    return commit('SET_USER_PASSWORD', password)
  },
  setUserAge: ({ commit }, age) => {
    return commit('SET_USER_AGE', age)
  },
  setUserImg: ({ commit }, img) => {
    return commit('SET_USER_IMG', img)
  },
  setUserSex: ({ commit }, sex) => {
    return commit('SET_USER_SEX', sex)
  },
  setUserPhone: ({ commit }, phone) => {
    return commit('SET_USER_PHONE', phone)
  },
  setUserId: ({ commit }, id) => {
    return commit('SET_USER_ID', id)
  },
  setUserIntergration: ({ commit }, intergration) => {
    return commit('SET_USER_INTERGRATION', intergration)
  },
  setUserSessionId: ({ commit }, sessionId) => {
    return commit('SET_USER_SESSSIONID', sessionId)
  },
  setScanList: ({ commit }, scanList) => {
    return commit('SET_SCAN_LIST', scanList)
  },
  setScanImg: ({ commit }, scanImg) => {
    return commit('SET_SCAN_IMG', scanImg)
  }
}
export default actions
